<?php
  session_start();
 include_once ("Login/databaseconnection.php");
$current_table="deleted_competition";
  $School_Id=$_POST['School_Id'];
   $Competition_Id=$_POST['Competition_Id'];
   $Date=$_POST['Date'];
   	$resultdel=mysql_query("DELETE FROM deleted_competition WHERE Competition_Id='$Competition_Id' AND Date='$Date' AND School_Id='$School_Id'");
if($resultdel)
{
	 $_SESSION['error']="Successfully removed!";
}
if(!$resultdel)
{
	 $_SESSION['error']="Sorry,an error occured  please try again!";
}
	
 ?>